/**
 * @author： sce
 * @date：17-11-5
 */
!(function (global, $, _) {
    var SellOrderAdd = function () {
        this.data = {};
    };
    _.extend(SellOrderAdd, global.CommonAdd);

    SellOrderAdd.prototype.updatePage = function () {
        this.currentData.DISTRIBUTION_DATE = this.currentData.DISTRIBUTION_DATE.replace(/-/g,'/');
        $('#ff').form('load',this.currentData);
        $('#edg').edatagrid('loadData', this.detailData);
    };

    global.SellOrderAdd = SellOrderAdd;
})(typeof window !== "undefined" ? window : this, jQuery, common);